<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateFinancialStaffInfosTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('financial_staff_infos', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('users_id');
            $table->string('code')->nullable()->comment('编码');
            $table->string('name')->nullable()->comment('姓名');
            $table->string('tel')->nullable()->comment('电话');
            $table->string('judicial_name')->nullable()->comment('司法机关');
            $table->softDeletes();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('financial_staff_infos');
    }
}
